package top.mcwebsite.playandroid.lib.markdown.render

import androidx.compose.foundation.layout.padding
import androidx.compose.runtime.Composable
import androidx.compose.ui.Modifier
import androidx.compose.ui.text.TextStyle
import org.intellij.markdown.ast.ASTNode
import top.mcwebsite.playandroid.lib.markdown.BlockVerticalPadding

@Composable
fun Paragraph(
    markdownState: MarkdownState,
    astNode: ASTNode,
) {
    RichText(
        markdownState = markdownState,
        astNode = astNode,
        style = TextStyle(),
        modifier = Modifier.padding(vertical = BlockVerticalPadding)
    )
}